//
//  MoveConsAndAssign2.cpp
//  learnC++
//
//  Created by liuzhibing on 2018/6/28.
//  Copyright © 2018年 yunfan.com. All rights reserved.
//

#include "MoveConsAndAssign2.hpp"
AutoPtr4<Resource4> generateResource2(){
    AutoPtr4<Resource4> res(new Resource4);
    return res; // this return value will invoke the copy constructor(在该编译器下被隐藏了)

}
